/*
 * ============================================================================
 * Copyright Notice!
 * ----------------------------------------------------------------------------
 * This file contains proprietary and confidential information belonging to the
 * group of people involvled in developing this project.  Reproduction, disclosure 
 * or use without specific written authorization from project stake holders is 
 * prohibited. Please refer the readme.txt in project installation folder for more
 * specific contacts
 *
 * All rights reserved.
 * ============================================================================
 */
package edu.uwm.universitydb.dao.project.management;

/**
 * <code>UpsertProjectManagementAssociationCommand</type>
 * 
 * Command class for updating project manager information
 * 
 * @author Shyam Nair
 */
public class UpdateProjectManagementAssociationCommand extends
    ProjectManagementAssociationDataManipulationCommand
{
    /** static string representing update SQL */
    private static final String UPDATE_SQL =
        "UPDATE university.manage set prof_ssn = ? where pno = ?;";

    /**
     * 
     * @param profSsn
     * @param pNum
     */
    public UpdateProjectManagementAssociationCommand(final String profSsn, final Integer pNum)
    {
        super(profSsn, pNum);
    }

    /*
     * (non-javadoc)
     * @see edu.uwm.universitydb.framework.db.command.DBCommand#getSQL()
     */
    @Override
    public String getSQL()
    {
        return UPDATE_SQL;
    }

}
/*
 * ============================================================================
 * Change History
 * ----------------------------------------------------------------------------
 * Apr 19, 2014   Shyam Nair
 * File created
 * ----------------------------------------------------------------------------
 */